package com.modernyuanshiren;

import java.awt.Point;

@FunctionalInterface
public interface IPosition {
	Point getPoint();
	
	default int getX(){
		return getPoint().x;
	}
	
	default int getY(){
		return getPoint().y;
	}
}

